package com.person.easyui;

import java.util.List;
import java.util.Map;

public class TreeNode {
  private String id;
  private String parentId;
  private String text;
  private String state;
  private String checked;
  private String iconCls;
  private Map<String,Object>attributes;
  private List<TreeNode>children;
  public TreeNode(){}
  
public TreeNode(String id, String parentId, String text, String state,
		String checked,String iconCls, Map<String, Object> attributes, List<TreeNode> children) {
	super();
	this.id = id;
	this.parentId = parentId;
	this.text = text;
	this.state = state;
	this.checked = checked;
	this.iconCls=iconCls;
	this.attributes = attributes;
	this.children = children;
}

public String getId() { 
	return id;
}

public void setId(String id) {
	this.id = id;
}

public String getParentId() {
	return parentId;
}
public void setParentId(String parentId) {
	this.parentId = parentId;
}
public String getText() {
	return text;
}
public void setText(String text) {
	this.text = text;
}
public String getState() {
	return state;
}
public void setState(String state) {
	this.state = state;
}
public String getChecked() {
	return checked;
}
public void setChecked(String checked) {
	this.checked = checked;
}

public String getIconCls() {
	return iconCls;
}

public void setIconCls(String iconCls) {
	this.iconCls = iconCls;
}

public Map<String, Object> getAttributes() {
	return attributes;
}
public void setAttributes(Map<String, Object> attributes) {
	this.attributes = attributes;
}
public List<TreeNode> getChildren() {
	return children;
}
public void setChildren(List<TreeNode> children) {
	this.children = children;
}
  
}
